package com.wen.pojo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.wen.pojo.Product;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class ProductAndCart extends Product {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("productId")
    private String productid;

    @TableField("COUNT")
    private Integer count;

    private Integer selected;

    private Integer consumerId;

    private LocalDateTime createTime;

    private String counts;

    private  String sumprice;

}
